-
Home
-
ElasticPress
-
4.0.0
-
Code
-
Classes
- Elasticsearch
Total Complexity |
161 |
Dependencies |
2 |
Dependents |
19 |
Total lines |
1,542 |
Lines of code |
626 |
Logical lines of code |
326 |
Comment lines |
662 |
Methods |
34 |
Properties |
3 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_elasticsearch_info() |
B |
38 |
20 |
71 |
remote_request() |
A |
40 |
13 |
54 |
query() |
A |
38 |
12 |
66 |
get_documents() |
A |
48 |
8 |
31 |
parse_api_response() |
A |
51 |
8 |
28 |
update_index_settings() |
S |
52 |
7 |
23 |
create_network_alias() |
S |
51 |
6 |
27 |
is_empty_query() |
S |
59 |
6 |
15 |
index_exists() |
S |
58 |
6 |
15 |
create_pipeline() |
S |
54 |
5 |
20 |
get_document() |
S |
55 |
5 |
17 |
get_mapping() |
S |
57 |
5 |
16 |
index_document() |
S |
49 |
4 |
31 |
bulk_index() |
S |
53 |
4 |
21 |
delete_document() |
S |
54 |
4 |
21 |
get_pipeline() |
S |
55 |
4 |
19 |
add_query_log() |
S |
69 |
5 |
6 |
format_request_headers() |
S |
59 |
4 |
14 |
delete_index() |
S |
60 |
4 |
12 |
get_cluster_status() |
S |
56 |
3 |
18 |
put_mapping() |
S |
57 |
3 |
16 |
delete_network_alias() |
S |
62 |
4 |
10 |
refresh_indices() |
S |
62 |
4 |
10 |
add_elasticpress_version_to_user_agent() |
S |
62 |
2 |
11 |
get_total_hits_from_query() |
S |
71 |
2 |
6 |
factory() |
S |
69 |
2 |
7 |
close_index() |
S |
64 |
2 |
9 |
get_hits_from_query() |
S |
70 |
2 |
6 |
open_index() |
S |
64 |
2 |
9 |
get_elasticsearch_plugins() |
S |
74 |
1 |
4 |
get_elasticsearch_version() |
S |
74 |
1 |
4 |
delete_all_indices() |
S |
80 |
1 |
3 |
parse_site_id() |
S |
78 |
1 |
3 |
get_query_log() |
S |
82 |
1 |
3 |